<template>
  <div>
    这里是首页{{ new Date() }}
    <svg-icon name="phone" color="red"></svg-icon>
    <svg-icon name="train" color="green"></svg-icon>
  </div>
</template>

<script setup lang="ts">
import { onMounted } from 'vue';
import { getMenu } from '@/api/user'
onMounted(async () => {
  let menu = await getMenu();
  console.log("menu", menu)
})
</script>

<style scoped></style>@/api/user/user